From: Debian Science Maintainers Date: Sun, 7 Dec 2025 16:19:24 +0000 (+0100) Subject: do-not-install-python-scripts X-Git-Tag: archive/raspbian/2.10.0-6+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e0c4b2f2dace07f6ae523ec64ef08b38cb48422a;p=dune-common.git do-not-install-python-scripts Gbp-Pq: Name do-not-install-python-scripts.patch --- diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt index f79c0a3..7017f49 100644 --- a/bin/CMakeLists.txt +++ b/bin/CMakeLists.txt @@ -9,3 +9,10 @@ install(PROGRAMS dunepackaging.py dune-git-whitespace-hook DESTINATION ${CMAKE_INSTALL_BINDIR}) + +# install these scripts only if Python bindings are enabled +if(DUNE_ENABLE_PYTHONBINDINGS) + install(PROGRAMS + dunepackaging.py + DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif()